<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2019/4/14
  Time: 19:36
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0, shrink-to-fit=no">
  <title>西南石油大学计科院</title>
  <link rel="icon" href="favicon.ico">
  <link rel="stylesheet" href="css/index.css" type="text/css">
  <link rel="stylesheet" href="css/bootstrap.min.css" type="text/css">
  <link href="css/style.css" rel="stylesheet" type="text/css" />
  <script type="text/javascript" src="js/jquery.min.js"></script>
  <script type="text/javascript"  src="js/nav.js"></script>
  <script type="text/javascript" src="js/bootstrap.min.js"></script>
  <style>

    #box{
      width: 1000px;
      margin:0 auto;
    }


  </style>
</head>
<body>
<div id="box">

  <div class="container-fluid">
    <div class="row-fluid">
      <div class="span12">

        <div id="title">
          <form class="form-search form-inline">
            <%--<input class="input-medium search-query" type="text" /> <button type="submit" class="btn">查找</button><br>--%>
            <div style="margin-right: 120px">
              <c:if test="${sessionScope.isTrue==null}">
                <a href="login.jsp" style="color: #ffd3c2;font-size: 20px"><b>请登录</b></a>
              </c:if>
              <c:if test="${sessionScope.isTrue==false}">
                <a href="login.jsp" style="color: #ffd3c2;font-size: 20px"><b>请登录</b></a>
              </c:if>
              <c:if test="${sessionScope.isTrue==true}">
                <b style="color: #f9d9bf;font-size: 20px">欢迎您，${sessionScope.userName}&nbsp;&nbsp;<a href="loginOut" style="color: #953b39">注销</a></b>
              </c:if>
            </div>
          </form>

        </div>


        <div id="top_bg">
          <div class="top">
            <!--导航开始-->
            <div class="nav_z">
              <ul id="navul" class="cl">
                <li>
                  <a href="#">网站首页</a>

                </li>
                <li>
                  <a href="#">学院概况</a>
                  <ul>
                    <li><a href="xygk/xyjj.htm">学院简介</a></li>
                    <li><a href="xygk/xyld.htm">学院领导</a></li>
                    <li><a href="xygk/zzjg.htm">组织机构</a></li>
                  </ul>
                </li>
                <li>
                  <a href="#">本科生教育</a>
                  <ul>
                    <li><a href="bksjy/jsjkxyjszy.htm">计算机科学与技术专业</a></li>
                    <li><a href="bksjy/rjgczy.htm">软件工程专业</a></li>
                    <li><a href="bksjy/wlgczy.htm">网络工程专业</a></li>
                    <li><a href="bksjy/wlwgczy.htm">物联网工程专业</a></li>
                    <li><a href="bksjy/xxglyxxxtzy.htm">信息管理与信息系统专业</a></li>
                    <li><a href="bksjy/wlkjaqzy.htm">网络空间安全专业</a></li>
                    <li><a href="bksjy/sjkxydsjjszy.htm">数据科学与大数据技术专业</a></li>
                    <li><a href="bksjy/dwrchzpyxm.htm">对外人才合作培养项目</a></li>
                    <li><a href="bksjy/ksxx.htm">考试信息</a></li>
                    <li><a href="bksjy/xkzxxx.htm">选课重修信息</a></li>
                    <li><a href="bksjy/tzgg.htm">通知公告</a></li>
                    <li><a href="bksjy/zlxz.htm">资料下载</a></li>
                    <li><a href="bksjy/gxkjssp.htm">公选课教师视频</a></li>
                  </ul>
                </li>
                <li>
                  <a href="#">研究生教育</a>
                  <ul>
                    <li><a href="yjsjy/zsjz.htm">招生简章</a></li>
                    <li><a href="yjsjy/jsjkxyjsyjxk.htm">计算机科学与技术一级学科</a></li>
                    <li><a href="yjsjy/rjgcyjxk.htm">软件工程一级学科</a></li>
                    <li><a href="yjsjy/wlkjaqyjxk.htm">网络空间安全一级学科</a></li>
                    <li><a href="yjsjy/yjsds.htm">研究生导师</a></li>
                    <li><a href="yjsjy/yjsjztx.htm">研究生奖助体系</a></li>
                    <li><a href="yjsjy/tzgg.htm">通知公告</a></li>
                    <li><a href="yjsjy/zlxz.htm">资料下载</a></li>
                  </ul>
                </li>
                <li>
                  <a href="#">师资队伍</a>
                  <ul>
                    <li><a href="szdw/js.htm">教授</a></li>
                    <li><a href="szdw/fjs.htm">副教授</a></li>
                    <li><a href="szdw/js1.htm">讲师</a></li>
                    <li><a href="szdw/syry.htm">实验人员</a></li>
                  </ul>
                </li>
                <li>
                  <a href="#">科学研究</a>
                  <ul>
                    <li><a href="kxyj/kytd.htm">科研团队</a></li>
                    <li><a href="kxyj/kypt.htm">科研平台</a></li>
                    <li><a href="kxyj/kycg.htm">科研成果</a></li>
                  </ul>
                </li>
                <li>
                  <a href="#">学生工作</a>
                  <ul>
                    <li><a href="xsgz/gzdt.htm">工作动态</a></li>
                    <li><a href="xsgz/tzgg.htm">通知公告</a></li>
                    <li><a href="xsgz/kwcxsj.htm">课外创新实践</a></li>
                    <li><a href="xsgz/bysjy.htm">毕业生就业</a></li>
                    <li><a href="xsgz/xlzc.htm">心灵之窗</a></li>
                    <li><a href="xsgz/qcfc.htm">青春风采</a></li>
                    <li><a href="xsgz/zlxz.htm">资料下载</a></li>
                  </ul>
                </li>
                <li>
                  <a href="#">招生工作</a>
                  <ul>
                    <li><a href="zsgz/xyjs.htm">学院介绍</a></li>
                    <li><a href="zsgz/bysjyqx.htm">毕业生就业去向</a></li>
                    <li><a href="zsgz/yxbysjj.htm">优秀毕业生简介</a></li>
                    <li><a href="zsgz/xshj.htm">学生获奖</a></li>
                    <li><a href="zsgz/jyxyjs.htm">精英校友介绍</a></li>
                    <li><a href="zsgz/zsgzxcbd.htm">招生工作宣传报道</a></li>
                  </ul>
                </li>
                <li>
                  <a href="#">实验中心</a>
                  <ul>
                    <li><a href="syzx/zxjj.htm">中心简介</a></li>
                    <li><a href="syzx/syfs.htm">实验分室</a></li>
                    <li><a href="syzx/gzzd.htm">规章制度</a></li>
                    <li><a href="syzx/zlxz.htm">资料下载</a></li>
                    <li><a href="http://syskf.swpu.edu.cn">开放预约</a></li>
                  </ul>
                </li>
                <li>
                  <a href="#">党建之窗</a>
                  <ul>
                    <li><a href="djzc/djdt.htm">党建动态</a></li>
                    <li><a href="djzc/xxyd.htm">学习园地</a></li>
                    <li><a href="djzc/dwzwgk.htm">党务政务公开</a></li>
                    <li><a href="djzc/zlxz.htm">资料下载</a></li>
                  </ul>
                </li>
                <!--可在此处直接添加导航-->
              </ul>
            </div><!--导航结束-->
          </div><!--导航结束-->
        </div><!--导航结束-->
        <div class="carousel slide" id="carousel-915504">
          <ol class="carousel-indicators">
            <li class="active" data-slide-to="0" data-target="#carousel-915504">
            </li>
            <li data-slide-to="1" data-target="#carousel-915504">
            </li>

          </ol>
          <div class="carousel-inner">
            <div class="item active">
              <img alt="" src="img/h1.jpg" />

            </div>
            <div class="item">
              <img alt="" src="img/h2.jpg" />

            </div>

          </div> <a data-slide="prev" href="#carousel-915504" class="left carousel-control">‹</a> <a data-slide="next" href="#carousel-915504" class="right carousel-control">›</a>
        </div>
        <div class="row-fluid">
          <div class="span8">


            <div class="gonav">

              <h2>图片新闻</h2>
              <span >
                                <a href="newsPublish?type=imagenews">
                                    More>>
                                </a>
                            </span>
            </div>

            <div class="row-fluid">
              <div class="span6">
                <div class="carousel slide" id="carousel-589608">

                  <div class="carousel-inner">
                    <div class="item active">
                      <img alt="" src="img/a.jpg" />
                      <div class="carousel-caption">

                        <p>
                          计科院2017-2018年度先进班级评比展示活动圆满落幕
                        </p>
                      </div>
                    </div>
                    <div class="item">
                      <img alt="" src="img/b.jpg" />
                      <div class="carousel-caption">

                        <p>
                          计科院第6届物联网创意大赛圆满落幕
                        </p>
                      </div>
                    </div>
                    <div class="item">
                      <img alt="" src="img/c.jpg" />
                      <div class="carousel-caption">

                        <p>
                          梁宗文老师获得“2018年度四川省优秀物联网教师”...
                        </p>
                      </div>
                    </div>
                    <div class="item">
                      <img alt="" src="img/d.jpg" />
                      <div class="carousel-caption">

                        <p>
                          “传递爱心，西柚启航”--科院“走进敬老院”活动...
                        </p>
                      </div>
                    </div>
                    <div class="item">
                      <img alt="" src="img/e.jpg" />
                      <div class="carousel-caption">

                        <p>
                          计算机科学学院隆重举行第八届“盛特杯”大学生课...
                        </p>
                      </div>
                    </div>
                    <div class="item">
                      <img alt="" src="img/f.jpg" />
                      <div class="carousel-caption">

                        <p>
                          计算机科学学院隆重举行第八届“盛特杯”大学生课...
                        </p>
                      </div>
                    </div>
                  </div>
                  <ol class="carousel-indicators">
                    <li class="active" data-slide-to="0" data-target="#carousel-589608">
                    </li>
                    <li data-slide-to="1" data-target="#carousel-589608">
                    </li>
                    <li data-slide-to="2" data-target="#carousel-589608">
                    </li>
                    <li data-slide-to="3" data-target="#carousel-589608">
                    </li>
                    <li data-slide-to="4" data-target="#carousel-589608">
                    </li>
                    <li data-slide-to="5" data-target="#carousel-589608">
                    </li>
                  </ol>

                </div>
              </div>
              <div class="span6">
                <ul class="ull">
                  <%--对每一个部分的新闻都设计一个数据库，遍历输出最新的数据，以区域块的名称
                  和新闻id作为参数传到后台--%>
                  <c:forEach var="item" items="${requestScope.imagenewsList}">
                    <li><a href="info?type=imagenews&id=${item.id}" title="${item.content}">${item.content}</a></li>
                  </c:forEach>
                </ul>
              </div>
            </div>
          </div>
          <div class="span4">
            <div class="gonav">

              <h2>学术交流</h2>
              <span >
                                <a href="newsPublish?type=academiccommunication">
                                    More>>
                                </a>
                            </span>
            </div>

            <div class="row-fluid">
              <div class="span12">
                <ul class="ull">
                  <c:forEach var="item" items="${requestScope.academicList}">
                    <li><a href="info?type=academiccommunication&id=${item.id}" title="${item.content}">${item.content}</a></li>
                  </c:forEach>
                </ul>
              </div>
            </div>
          </div>
        </div>
        <div class="row-fluid">
          <div class="span8">
            <div class="gonav">

              <h2>新闻速递</h2>
              <span >
                                <a href="newsPublish?type=couriernews">
                                    More>>
                                </a>
                            </span>
            </div>
            <div class="row-fluid">
              <div id="span12">

                <h3><a href="info/1045/4613.htm">计算机科学学院举办2019年寒假留校学生新春团拜会</a></h3>
                <p>&#8203;在中华民族传统节日——春节即将到来之际，为让学院留校学生感受家的温暖，向他们传达学院的慰问和祝福。2019年2月1日上午9时30分，计算机科学学院在明理楼B306会议室隆重举行2019年寒假留…[<span><a href="info/1045/4613.htm">详细信息</a></span>]</p>

                <ul class="ull">
                  <c:forEach var="item" items="${requestScope.couriernewsList}">
                    <li><a href="info?type=couriernews&id=${item.id}" title="${item.content}">${item.content}</a></li>
                  </c:forEach>

                </ul>
                </ul>
              </div>
            </div>

          </div>
          <div class="span4">
            <div class="gonav">

              <h2>党建动态</h2>
              <span >
                                        <a href="newsPublish?type=dynamicofparty">
                                            More>>
                                        </a>
                                    </span>
            </div>
            <div class="row-fluid">
              <div class="span12">
                <ul class="ull">
                  <c:forEach var="item" items="${requestScope.dynamicofpartyList}">
                    <li><a href="info?type=dynamicofparty&id=${item.id}" title="${item.content}">${item.content}</a></li>
                  </c:forEach>
                </ul>
              </div>
            </div>
          </div>
        </div>
        <div class="row-fluid">
          <div class="span8">
            <div class="gonav">

              <h2>通知公告</h2>
              <span >
                                        <a href="newsPublish?type=notifydynamic">
                                            More>>
                                        </a>
                                    </span>
            </div>
            <div class="row-fluid">
              <div class="span12">
                <ul class="ull">
                  <c:forEach var="item" items="${requestScope.notifydynamicList}">
                    <li><a href="info?type=notifydynamic&id=${item.id}" title="${item.content}">${item.content}</a></li>
                  </c:forEach>
                </ul>
              </div>
            </div>
          </div>
          <div class="span4">
            <div class="gonav">

              <h2>专题列表</h2>
              <span >
                                        <a href="newsPublish?type=projectlist">
                                            More>>
                                        </a>
                                    </span>
            </div>
            <div class="row-fluid">
              <div class="span12">
                <ul class="ull">
                  <c:forEach var="item" items="${requestScope.projectList}">
                    <li><a href="info?type=projectlist&id=${item.id}" title="${item.content}">${item.content}</a></li>
                  </c:forEach>
                </ul>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>

</div>
</body>

</html>
